package pool.bean;

import java.util.Hashtable;
import java.util.Vector;

import com.sun.mail.imap.protocol.FLAGS;

import control.RequestParameter;
import dbmanager.DBManager;
import dbmanager.GetIdName;

public abstract class SubBean implements Bean
{
	
	public String process = "add";
	public String tableName = "";
	public RequestParameter reqParam;
	public DBManager sqlDB;
	public GetIdName gin;
	public boolean FLAG = false;
	
	public void setDBManager(DBManager sqlDB){		
		this.sqlDB = sqlDB;
		gin = new GetIdName(this.sqlDB);
	}	
	
	public void setReqParam(RequestParameter reqParam){
		this.reqParam = reqParam;
	}
	
	public void setTable(String tableName){
		this.tableName = tableName;
	}
	
	public void setProcess(String process){
		this.process = process;
	}
	
	public boolean getResult() {
		return FLAG;
	}
	public void setId(String id){	
		
	}	
	public void setHashtable(Hashtable<Object,Object> MasterMap){
		
	}
	public void setTransDetailsVector(Vector<Object> vector) {
		
	}
	public void setOldHashtable(Hashtable<Object,Object> MasterMap)	{
		
	}
	public void setNewHashtable(Hashtable<Object,Object> MasterMap)	{
	
	}
	public void setOldPropertyVector(Vector<Object> vector)	{
		
	}
	public void setNewPropertyVector(Vector<Object> vector)	{
		
	}	
	public void setPropertyViewHashtable(Hashtable<Object,Object> hashtable){
		
	}
	public void setTransDetailsViewHashtable(Hashtable<Object,Object> hashtable){
		
	}
	public StringBuffer delete()
	{
		return null;
	}
	/**/
}
